home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Personal Computer World 2009 February
/
PCWFEB09.iso
/
Software
/
Resources
/
Chat & Communication
/
Digsby build 37
/
digsby_setup.exe
/
lib
/
gui
/
app
/
menubar.pyo
(
.txt
)
< prev
Wrap
Python Compiled Bytecode
|
2008-10-13
|
4KB
|
73 lines
# Source Generated with Decompyle++
# File: in.pyo (Python 2.5)
import wx
import sys
import actions
from gui.model.menus import *
from config import platformName
def digsbyWxMenuBar():
menus = []
digsby = Menu(_('&Digsby'))
status = Menu()
status.addItem(_('&New Status Message...'), id = actions.NewStatusMessage)
status.addItem(_('&Edit Status Messages...'), id = actions.EditStatusMessage)
digsby.addItem(_('My Status'), subMenu = status)
digsby.addItem(_('My &Accounts...'), id = actions.MyAccounts)
digsby.addSep()
digsby.addItem(_('&New IM...'), id = actions.NewIM, defaultAccel = 'Ctrl+N')
digsby.addItem(_('Add &Contact...'), id = actions.AddContact, defaultAccel = 'Ctrl+A')
digsby.addItem(_('Add &Group...'), id = actions.AddGroup, type = 'checkbox')
digsby.addItem(_('&Rename Selection'), id = actions.RenameSelection)
digsby.addItem(_('&Delete Selection...'), id = actions.DeleteSelection)
digsby.addSep()
digsby.addItem(_('Sign &Off Digsby'), id = actions.SignOff)
digsby.addItem(_('E&xit Digsby'), id = actions.Exit)
menus.append(digsby)
view = Menu(_('&View'))
view.addItem(_('&Always On Top'), id = actions.AlwaysOnTop, type = 'checkbox')
view.addItem(_('Skins...'), id = actions.Skins, defaultAccel = 'Ctrl+S')
view.addSep()
if not platformName == 'mac':
view.addItem(_('&Menu Bar'), id = actions.MenuBar, type = 'checkbox')
view.addItem(_('Status Panel'), id = actions.StatusPanel, type = 'checkbox')
view.addItem(_('Arrange &Panels...'), id = actions.ArrangePanels)
view.addSep()
view.addItem(_('Show &Mobile Contacts'), id = actions.ShowMobileContacts, defaultAccel = 'Ctrl+M', type = 'checkbox')
view.addItem(_('Show &Offline Contacts'), id = actions.ShowOfflineContacts, defaultAccel = 'Ctrl+O', type = 'checkbox')
view.addItem(_('&Group Offline Contacts'), id = actions.GroupOfflineContacts, defaultAccel = 'Ctrl+G', type = 'checkbox')
view.addItem(_('&Hide Offline Groups'), id = actions.HideOfflineGroups, type = 'checkbox')
sortby = Menu()
sortby.addItem(_('&None'), id = actions.SortByNone, type = 'checkbox')
sortby.addItem(_('&Status'), id = actions.SortByStatus, type = 'checkbox')
sortby.addItem(_('N&ame'), id = actions.SortByName, type = 'checkbox')
sortby.addItem(_('&Log Size'), id = actions.SortByLogSize, type = 'checkbox')
sortby.addItem(_('Ser&vice'), id = actions.SortByService, type = 'checkbox')
sortby.addItem(_('Advan&ced...'), id = actions.SortByAdvanced, type = 'checkbox')
view.addItem(_('&Sort By'), subMenu = sortby)
menus.append(view)
tools = Menu(_('&Tools'))
tools.addItem(_('&Preferences...'), defaultAccel = 'Ctrl+P', id = actions.Preferences)
tools.addItem(_('&File Transfer History'), id = actions.FileTransferHistory, defaultAccel = 'Ctrl+J')
tools.addItem(_('&Chat History'), id = actions.ChatHistory)
menus.append(tools)
help = Menu(_('&Help'))
help.addItem(_('&Documentation'), id = actions.Documentation)
help.addItem(_('Support &Forums'), id = actions.SupportForums)
help.addSep()
help.addItem(_('&Submit Bug Report'), id = actions.SubmitBugReport)
help.addItem(_('Su&ggest a Feature'), id = actions.SuggestAFeature)
help.addSep()
if getattr(sys, 'DEV', False):
help.addItem(_('Show Debug Console'), id = actions.ShowDebugConsole)
help.addItem(_('Run Tests'), id = actions.RunTests)
help.addSep()
help.addItem(_('&Invite Your Friends'), id = actions.InviteYourFriends)
help.addItem(_('&About Digsby'), id = actions.About)
menus.append(help)
return menus